package za.ac.cput.garethc.designpatterns.behavioural.command;

/**
 *
 * @author Gareth
 */
public class DinnerCommand implements Command
{

    private Dinner dinner;

    public DinnerCommand(Dinner dinner)
    {
        this.dinner = dinner;
    }

    @Override
    public void execute()
    {
        dinner.makeDinner();
    }
}
